package com.baomidou.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 11900
 * @version V1.0
 * @Title: ${FILE_NAME}
 * @Package com.baomidou.springboot.entity
 * @Description: TODO
 * @date 2019/7/19 20:29
 */
@Data
@TableName("t_user")
public class TUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据唯一性ID
     */
    @TableField(el = "USERID")
    private String USERID;

    /**
     * 登录名
     */
    private String LOGINNAME;

    /**
     * 旧密码
     */
    private String OLDPWD;

    /**
     * 密码
     */
    private String PASSWORD;

    /**
     * 真实姓名
     */
    private String USERNAME;

    /**
     * 用户类型
     */
    private String USERTYPE;

    /**
     * 电话
     */
    private String TEL;

    /**
     * Email
     */
    private String EMAIL;

    /**
     * 地址
     */
    private String LOCALADDRESS;

    /**
     * 描述
     */
    private String REMARK;

    /**
     * 最后登录时间
     */
    private LocalDateTime LASTLOGINDATE;

    /**
     * 创建时间
     */
    private LocalDateTime CREATETIME;

    /**
     * 附件地址
     */
    private String FJDZ;

    /**
     * 身份证/企业证号
     */
    private String IDCARD;

    /**
     * 创建时间
     */
    private LocalDateTime CREATEDATE;

    /**
     * 创建者
     */
    private String CREATEUSER;

    /**
     * 删除标识 0未删除 1已删除
     */
    private Integer DELFLAG;

    @Override
    public String toString() {
        return "User{" +
                "USERID=" + USERID +
                ", LOGINNAME=" + LOGINNAME +
                ", OLDPWD=" + OLDPWD +
                ", PASSWORD=" + PASSWORD +
                ", USERNAME=" + USERNAME +
                ", USERTYPE=" + USERTYPE +
                ", TEL=" + TEL +
                ", EMAIL=" + EMAIL +
                ", LOCALADDRESS=" + LOCALADDRESS +
                ", REMARK=" + REMARK +
                ", LASTLOGINDATE=" + LASTLOGINDATE +
                ", CREATETIME=" + CREATETIME +
                ", FJDZ=" + FJDZ +
                ", IDCARD=" + IDCARD +
                ", CREATEDATE=" + CREATEDATE +
                ", CREATEUSER=" + CREATEUSER +
                ", DELFLAG=" + DELFLAG +
                "}";
    }
}
